package com.wao.menu.web.rest.vm;

import javax.validation.constraints.NotNull;

/**
 * View Model object for storing parentId.
 */
public class ParentIdVM {

    @NotNull
    private Long parentId;

    public ParentIdVM(Long parentId) {
        this.parentId = parentId;
    }

    public ParentIdVM() {
        // Empty public constructor used by Jackson.
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    @Override
    public String toString() {
        return "ParentIdVM{" +
            "parentId=" + parentId +
            '}';
    }
}
